.px2rem(@name, @px) {
    @{name}: @px / 75 * 1rem;
}
.font-dpr(@font-size){
  font-size: @font-size;
  　[data-dpr="2"] & {
    font-size: @font-size * 2;
  }
  [data-dpr="3"] & {
    font-size: @font-size * 3;
  }
}
.top{
  display: flex;
  justify-content:space-around;
  align-items: center;
  .px2rem(padding,15);
  background: white;
  position: fixed;
  top:0;left: 0;
  right:0;
  z-index: 99999999;
  .left,.right{
    width: 8%;
    img{
      width: 80%;
    }
  }
  .search{
    width: 75%;
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    .font-dpr(15px);
    .px2rem(border-radius,10);
    i{
      width: 9%;
      img{
        width: 100%;
      }
    }
    a{
      .px2rem(padding,15);
    }
  }
}
.main{
  .px2rem(margin-top,80);
  .px2rem(margin-bottom,120);
  .swiper-container{
    img{
      margin-top: 10px;
      width: 100%;
    }
  }
  .nav{
    display: flex;
    flex-wrap:wrap;
    justify-content: space-around;
    text-align: center;
    border-bottom: 30px solid #f7f7f7;
    .px2rem(padding-top,20);
    dl{
      width: 24%;
      .px2rem(padding-bottom,20);
      dt{
        .px2rem(padding,20);

        img{
          width: 40%;
        }
      }
    }
  }
  .gray{
    .px2rem(margin-top,15);
    .px2rem(padding,15);
    background: #f7f7f7;
  }
  .sale{
    border-bottom: 30px solid #f7f7f7;
    .px2rem(margin-bottom,10);
    .sle-top{
      display: flex;
      justify-content:space-between;
      align-items: center;
      h2{
        .px2rem(margin,15);
        .px2rem(font-size,25);
      }
      img{
        .px2rem(padding,15);
      }
    }
    .slip{
      overflow: hidden;
      display: flex;
      justify-content: space-around;
      dl{
        width: 18%;
        text-align: center;
        dt{
            img{
              width: 100%;
          }
        }
        dd{
          p{
            .px2rem(padding-top,25);
            .px2rem(margin-bottom,25);
            .font-dpr(12px);
            font-weight: lighter;
          }
          s{
            font-weight: lighter;
          }
          h2{
            .px2rem(margin-top,25);
            .px2rem(margin-bottom,25);
            .font-dpr(10px);
          }
        }
      }
    }

  }
  .session{
    .px2rem(margin-top,15);
    .px2rem(margin-bottom,15);
    .sen-top{
      display: flex;
      justify-content: space-around;
      align-items: center;
      span{
        padding:10px;
        img{
          width: 100%;
        }
      }
      h3{
        span{
          color: red;
        }
      }
    }
    .sen-main{
      display: flex;
      justify-content: space-around;
      align-items: center;
      .px2rem(margin,15);
      dl{
        width: 18%;
        text-align: center;
        dt{
          img{width: 100%};
        }
        dd{
          .px2rem(margin-top,15);
        }
      }
    }
  }
  .tu{
    img{
      width:100%;
      }
    img:nth-child(2){
      .px2rem(padding-top,15);
      .px2rem(padding-bottom,15);
    }
  }
  .container{
    overflow: hidden;
    .nav-list{
      text-align: center;
      .swiper-slide{
        .px2rem(padding,20);
      }
      .active-nav {
        border-bottom: 3px solid #007AFF;
      }

    }
    .swiper-container-opts{
      .one{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        dl{
          width: 45%;
          img{
            width: 90%;
            display: block;
            margin:0 auto;
            .px2rem(margin-top,25);
          }
          dd{
            p{
              .px2rem(padding-left,20);
              .px2rem(padding-top,20);
              .px2rem(padding-bottom,20);
              .font-dpr(13px);
            }
            h2{
              .px2rem(padding-left,20);
            }
          }
        }
      }
    }
  }
}
footer{
  position:fixed;
  bottom:0;left: 0;right: 0;
  border-top:1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: white;
  .px2rem(padding,10);
  z-index: 99999;
  text-align: center;
  dl{
    width: 20%;
    .jia{
      width:52% ;
    }
    dt{
      .px2rem(height,45);
      img{
        width: 25%;
      }
    }
    dd{
      .px2rem(padding-top,10);
      .font-dpr(10px);
    }
  }
}